package com.ruoyi.domain;

import lombok.Data;
import org.springframework.format.annotation.DateTimeFormat;

import java.util.Date;

/**
 * 新闻按条件范围查询辅助类
 */
@Data
public class RangSearchObject {
    Integer pageNo;
    Integer pageSize;
    Integer begin;
    Integer stockId;
    Integer typeId;
    Integer originId;
    String sentiment;
    //@DateTimeFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    Date startTime;
    //@DateTimeFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    Date endTime;
    String keyword;
}
